<template>
  <uni-nav-bar title="加注机" left-icon="left" @clickLeft="navBack" :fixed="true" statusBar></uni-nav-bar>
  <view class="package_sale space-between" @click="navTo('rehydrator/filling/fillDetail?id='+item.id)"
    v-for="item in fillingInfo.getFillList" :key="item.id">
    <view>{{item.name}}</view>
    <view style="color:#46A6FF;">存量:{{item.count}}</view>
  </view>
</template>

<script setup lang="ts">
  import { navBack, navTo } from '@/utils/navigator';
  import {  onMounted } from 'vue';
  import { fillingStation } from '@/stores/rehydrator';
  const fillingInfo = fillingStation();
  onMounted(() => {
    if (!fillingInfo.id) {
      fillingInfo.getDeliveryIn()
    }
    fillingInfo.Receiver()
  })
</script>

<style scoped lang="less">
</style>